Show all date options when adding Gnus scores interactively
authorJakub Ječmínek <kuba@kubajecminek.cz>
Thu, 30 May 2024 08:54:57 +0000 (10:54 +0200)
committerAndrea Corallo <acorallo@gnu.org>
Thu, 30 May 2024 08:54:57 +0000 (10:54 +0200)
commit39b704e36e308783dcec791d333fca317c6a5202
tree66295a4aeb07dc8e6a92a91adc2e26f7df2e54c5
parentc166abe897bcc2d6e1f59283cf25aef9d47e0c9f
Show all date options when adding Gnus scores interactively

* lisp/gnus/gnus-score.el (gnus-summary-increase-score): Rename
'char-to-type' variable to 'char-to-types' and bind all legal types
for date header.

* lisp/gnus/gnus-score.el (gnus-summary-score-entry): Provide better
default values for each scoring type and cast 'match' to number only
if necessary.

Co-authored-by: Alex Bochannek <alex@bochannek.com>
doc/misc/gnus.texi
lisp/gnus/gnus-score.el